Download
TPage Calculator
This program was created to assist software developers on the
Impact Graphics platform to better understand the texture-mapping
subsystem and how their textures are managed.
Those who wish to use more than 1Mb/4Mb of image data can think of
the TRAM chip(s) as a data cache. When you exceed the cache,
the system will start to save data into host memory, which for
some applications is highly undesirable.
To avoid this one should, if possible, define only as many
texture objects whose combined sizes (in TRAM pages) will fit
into the TRAMs. The question of TRAM usage by individual
textures is a complicated one, and this program is offered
as a helpful tool.
NOTES
Impact Graphics systems with hardware texturing (TRAMS)
always have 256 pages. Using luminance textures will not
allow you have a texture of 1024 pages, but it WILL allow
you to have 4 256-page textures (via texture-object
extension) simultaneously resident in the TRAMS. So the full
characterization of space is #pages and #trams used.
In the breakdown scrollbox, if you see that a mipmapped
texture with no border data chosen still uses some border
pages, this is because the system requires some border pages
for its own use. There's no way to avoid using these pages,
as long as you are mipmapping.
In the breakdown scrollbox, if you see zero pages for
either the image or the border, be assured that the data has
been put into an already-existing page.
TRAM Calculator Software and C Version
Paul Hansen
hansen@engr.sgi.com
ISD Graphics
(415) 933-1514
OR, ...
Copyright © 1996, Silicon Graphics, Inc.